]> dgit.raspbian.org Git - gnome-shell.git/commitdiff
build: Don't modify typelib search path in tools
authorFlorian Müllner <fmuellner@gnome.org>
Fri, 10 Aug 2018 11:34:15 +0000 (13:34 +0200)
committerFlorian Müllner <florian.muellner@gmail.com>
Tue, 14 Aug 2018 17:28:03 +0000 (17:28 +0000)
We need this in the main gnome-shell executable in order to locate
the private Shell and St typelibs, but those aren't useful or even
usable in the extension-prefs/portal helper tools.

https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/192

src/gnome-shell-extension-prefs.c
src/gnome-shell-portal-helper.c

index 5876121ef6f79a8ab25f7b1af59dd39ffde1e3c6..7ff728e1eee9fdf763e1d9afeccd3a6a4bdab9c2 100644 (file)
@@ -2,7 +2,6 @@
 
 #include "config.h"
 
-#include <girepository.h>
 #include <gjs/gjs.h>
 #include <glib/gi18n.h>
 
@@ -18,8 +17,6 @@ main (int argc, char *argv[])
   bind_textdomain_codeset (GETTEXT_PACKAGE, "UTF-8");
   textdomain (GETTEXT_PACKAGE);
 
-  g_irepository_prepend_search_path (GNOME_SHELL_PKGLIBDIR);
-
   context = g_object_new (GJS_TYPE_CONTEXT,
                           "search-path", search_path,
                           NULL);
index 94eeecb389b47e27ac78d45a9492976a0083fb5b..a0bebb216d9db1ea69ee6fba2f2fd70d68ed2d61 100644 (file)
@@ -2,7 +2,6 @@
 
 #include "config.h"
 
-#include <girepository.h>
 #include <gjs/gjs.h>
 #include <glib/gi18n.h>
 
@@ -18,8 +17,6 @@ main (int argc, char *argv[])
   bind_textdomain_codeset (GETTEXT_PACKAGE, "UTF-8");
   textdomain (GETTEXT_PACKAGE);
 
-  g_irepository_prepend_search_path (GNOME_SHELL_PKGLIBDIR);
-
   context = g_object_new (GJS_TYPE_CONTEXT,
                           "search-path", search_path,
                           NULL);